﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SiteIntranet.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    BuscarCita
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h2>BuscarCita</h2>


    <link href="<%: Url.Content("~/Content/jquery.ui.timepicker.css") %>" rel="stylesheet" type="text/css" />
    <link href="<%: Url.Content("~/Content/jquery-ui.css") %>" rel="stylesheet" type="text/css" /> 
    <link href="<%: Url.Content("~/Content/SoftBully.css") %>" rel="stylesheet" type="text/css" /> 
    <link href="<%: Url.Content("~/Content/jPages.css") %>" rel="stylesheet" type="text/css" /> 


    <script src="<%: Url.Content("~/Scripts/jPages.js") %>" type="text/javascript"></script>
    <script src="<%: Url.Content("~/Scripts/Validaciones.js") %>" type="text/javascript"></script>
    <script src="<%: Url.Content("~/Scripts/jquery.ui.timepicker.js") %>" type="text/javascript"></script>   
    <script src="<%: Url.Content("~/Scripts/Cita.js") %>" type="text/javascript"></script>
     <script src="<%: Url.Content("~/Scripts/ReporteCita.js") %>" type="text/javascript"></script>
    
    <div id="Buscar">
                <br/>
                <label>IdPersona</label>
                <input type="text" id="RegTbxIdPersonaV" class="text ui-widget-content ui-corner-all"  onkeypress="return permite(event, 'num')" />
                <input type="text" id="RegTbxIdPersona" class="text ui-widget-content ui-corner-all"  onkeypress="return permite(event, 'num')" />
                <button id="buscarPersonaR">buscar</button>  
                <label class="errorLabel" id="Label1"></label>
                <br/><br/>
                <label>Fecha Inicio</label>
                <input type="text" name="FechaInicioB" id="FechaInicioB" class="text ui-widget-content ui-corner-all" readonly="readonly" />
                <br/><br/>
                <label>Fecha Fin</label>
                <input type="text" name="FechaFinB" id="FechaFinB" size="20" class="text ui-widget-content ui-corner-all" readonly="readonly" />
                <br/><br/><br/>
                <center>
                <input type="submit" id="botonBuscarB" value="Buscar" class="submit-button"  style="margin-left:auto; width:auto;"/>
                <input type="submit" id="botonCancelarB" value="Cancelar" class="submit-button"  style="margin-left:auto; width:auto;"/>
                </center>
                <br/><br/><br/><br/>
                <center>
                </center>
                <br/><br/>

                <div id = "tablaDinamica"></div>
                <div class="holder" id="holderBusqueda" align="center"></div>

                <br/><br/><br/>
                <center>
                <input type="submit" id = "botonModificarB" value="Modificar" class="submit-button"  style="margin-left:auto; width:auto;"/>
                <input type="submit" id = "botonEliminarB" value="Eliminar" class="submit-button" style="margin-left:5px; margin-right:auto; width:auto;"/>
                </center>




        <div id="dialog-form" title="MODIFICAR CITA">
           <p class="validateTips">Por favor ingrese los campos que usted cree necesarios.</p>

           <fieldset>
                <label class="dialogoError">Los campos con (*) son obligatorios</label><br/><br/>
                <input type="text" name="name" id="IdCitaB" style="visibility:hidden" class="text ui-widget-content ui-corner-all" /><br/><br/>
                <label for="email">Descripcion</label> 
                <input type="text" name="email" id="descripcionB" value="" class="text ui-widget-content ui-corner-all" /><br/><br/>
                <label for="name">Fecha</label>
                <input type="text" name="name" id="fechaB" class="text ui-widget-content ui-corner-all" /><br/><br/>
                <label for="name">Hora</label>
                <input type="text" name="name" id="horaB" class="text ui-widget-content ui-corner-all" /><br/><br/>
                <label for="name">Dirección</label>
                <input type="text" name="name" id="direccionB" class="text ui-widget-content ui-corner-all" /><br/><br/>
           </fieldset>

        </div>

            <div id="dialog-formRegPers" title="BUSCAR PERSONA">
               <p class="validateTips">Por favor ingrese los campos que usted cree necesarios.</p>

               <fieldset>
                   <label for="name">Nombre :</label>
                   <input type="text" name="name" id="nombre_persona" class="text ui-widget-content ui-corner-all" /><br/><br/>
                   <label for="name">Apellido :</label>
                   <input type="text" name="name" id="apellido_persona" class="text ui-widget-content ui-corner-all" /><br/><br/>

                   <input type="submit" id="botonBuscarPersona" value="Buscar" class="submit-button" style="margin-left:350px; width:auto;"/>
                   <input type="submit" id="botonCancelarPersona" value="Cancelar" class="submit-button" style="margin-left:5px; margin-right:auto; width:auto;"/>
               </fieldset>
               <div id="Div3" class="ui-widget" align="center">
                    <div id = "tablaDinamicaPersona"></div>
                    <div class="holder" id="holderRCPer" align="center"></div>
               </div>
            </div>

    </div>
   

</asp:Content>
